<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
    <title>myblog</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-easyui/jquery.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/js/jquery-easyui/jquery.easyui.min.js"></script>

    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/cyUtil.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/cyEasyUi.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/js/jquery-easyui/themes/gray/easyui.css" type="text/css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/js/jquery-easyui/themes/icon.css" type="text/css"/>
    <script type="text/javascript">
        function addTab(opts) {
            var t = $('#centerTabs');
            if (t.tabs('exists', opts.title)) {
                t.tabs('select', opts.title);
            } else {
                t.tabs('add', opts);
            }
        }

        function closeTab(title) {
            var t = $('#centerTabs');
            t.tabs('close',titles);
        }

    </script>
</head>

<body class="easyui-layout">
<div data-options="region:'south'" style="height:20px;text-align: center">版权所有:陈咏</div>
<div data-options="region:'west',title:'功能导航',split:true" style="width:200px;">
        <iframe src="${pageContext.request.contextPath}/jsp/backend/tree_list.jsp" frameborder="0" style="border:0;width:100%;height:98%;"></iframe>
        <%--<div title="资源管理" iconCls="icon-save">
            <iframe src="" frameborder="0" style="border:0;width:100%;height:98%;"></iframe>
        </div>--%>
</div>
<div data-options="region:'center',title:'博客后台管理系统'" style="padding:5px;background:#eee;">
    <div id="centerTabs" class="easyui-tabs" data-options="fit:true,border:false">
        <div title="首页">
            欢迎:${loginUser.name}<br>
            <button type="button" onclick="javascript:;window.location.href = '${pageContext.request.contextPath}/jsp/index.jsp';">返回前台</button>
            <br>
            <button type="button" onclick="javascript:;window.location.href = '${pageContext.request.contextPath}/menu/menu_repair';">初始化数据</button>
        </div>
    </div>
</div>
</body>
</html>
